package org.dlust.springbootbasic.controller;

import org.dlust.aop.softarch2lab1.aspect.EnableRestCallLogs;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping("/hello")
    @EnableRestCallLogs
    public String sayHello() {
        return "Hello World";
    }
}
